package title;

import java.util.Scanner;

/**
 * 功能：
 * 作者：lc
 * 日期：2024/12/1 12:02
 */
public class MainP3954 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        double a = scanner.nextDouble();
        double b = scanner.nextDouble();
        double c = scanner.nextDouble();
        double res = a * 0.2 + b * 0.3 + c * 0.5;
        System.out.println((int) res);


    }
}
